package com.etc.order.common.service;

import com.etc.order.common.domain.ShoppingCart;

import java.util.List;

public interface ShoppingCartService {
    List<ShoppingCart> findByUid(int uid);

    int deleteByUid(int uid);

    int deleteByUidAndProductId(int uid, String productId);

    int insertShoppingCart(ShoppingCart cart);

    int updateShoppingCart(ShoppingCart cart);
}
